package com.pb.wkflow.core.utils;


import org.camunda.bpm.engine.impl.cfg.IdGenerator;
import org.springframework.stereotype.Component;

/**
 * @author 苗益辉
 * @date 2022/5/7 15:16
 */
@Component
public class SnowFlakeUuidGenerator implements IdGenerator {

    @Override
    public String getNextId() {
        return SnowFlake.nextId();
    }
}
